package com.linkhub.oms.admin.modules.shop.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: AuthorizationGrantParam
 * @Author: echo
 * @Date: 2024/3/20 11:24
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "授权参数", description = "AuthorizationGrantParam")
public class AuthorizationGrantParam extends BaseShopParam implements Serializable {


    @ApiModelProperty("code")
    @NotBlank(message = "{validation.shopCode.notNull}")
    private String code;

    @ApiModelProperty("shopUrl")
    private String shopUrl;

    @ApiModelProperty("timestamp")
    private Long timestamp;


}
